<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:uddi="urn:uddi-org:api_v3">
	<xsl:output method="xml" encoding="UTF-8"/>
	
	<xsl:include href="name.xsl"/>
	<xsl:include href="description.xsl"/>
	<xsl:include href="discoveryurls.xsl"/>
	<xsl:include href="contacts.xsl"/>
	<xsl:include href="identifierbag.xsl"/>
	<xsl:include href="categorybag.xsl"/>
	<xsl:include href="businessservices.xsl"/>
	
	<!-- Match the business UDDI entity -->
	<xsl:template match="uddi:businessEntity">
		<h2>Business Entity</h2>
		<h3>UDDI ID: <xsl:value-of select="@businessKey"/></h3>
		<xsl:apply-templates select="." mode="name"/>
		<xsl:apply-templates select="." mode="description"/>
		<xsl:apply-templates select="uddi:discoveryURLs"/>
		<xsl:apply-templates select="uddi:contacts"/>
		<xsl:apply-templates select="uddi:identifierBag"/>
		<xsl:apply-templates select="uddi:categoryBag"/>
		<xsl:apply-templates select="uddi:businessServices"/>
	</xsl:template>
</xsl:stylesheet>